<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            background-color: yellow;
            width: 200px;
            /**/
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    </style>
</head>
<body>
<div>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. A animi aperiam deleniti dignissimos, dolore eos error et explicabo fugit necessitatibus nostrum officiis possimus quidem repudiandae saepe sapiente sunt vitae? Doloribus!
</div>

</body>
</html>